import Vue from 'vue'
import { Button, Form, FormItem } from 'element-ui'

// import { FromItem } from 'element-ui'
import { Input } from 'element-ui'
//导入弹框提示组件
import {Message,Container,Header,Aside,Main} from 'element-ui'
//导入主体
// import { Container,Header,Aside,Main } from 'element-ui' import { from } from 'core-js/fn/array'
//导入侧边栏
import { Menu,Submenu,MenuItem } from 'element-ui'
//users页
import { Breadcrumb,Dialog,BreadcrumbItem,Card,Row,Col,Switch,Tooltip,Pagination,MessageBox} from 'element-ui'
//导入表格
import { Table,TableColumn } from 'element-ui'
//
// import {Timeline} from './timeline/index.js'
// import {TimelineItem} from './timeline-item/index.js'

import { 
    timeline,
    timelineItem,
    Tag,
    Tree,
    Select,
    Option,
    Cascader ,
    Alert,
    Tabs,
    TabPane,
    Steps,
    Step,
    CheckboxGroup,
    Checkbox,
    Upload,

} from 'element-ui'

// import { options } from 'less'
Vue.use(timeline)
Vue.use(timelineItem)
Vue.use(Upload)
Vue.use(Checkbox)
Vue.use(CheckboxGroup)
Vue.use(Steps)
Vue.use(Step)
Vue.use(Tabs)
Vue.use(TabPane)
Vue.use(Alert)
Vue.use(Cascader)
Vue.use(Select)
Vue.use(Option)
Vue.use(Button)
Vue.use(Tree)
Vue.use(Tag)
Vue.use(Dialog)
Vue.use(Switch)
Vue.use(Tooltip)
Vue.use(Pagination)
Vue.use(Form)
Vue.use(FormItem)
Vue.use(Input)
Vue.use(Container)
Vue.use(Header)
Vue.use(Aside)
Vue.use(Main)
Vue.use(Menu)
Vue.use(Submenu)
Vue.use(MenuItem)
Vue.use(Breadcrumb)
Vue.use(BreadcrumbItem)
Vue.use(Card)
Vue.use(Row)
Vue.use(Col)
Vue.use(Table)
Vue.use(TableColumn)
Vue.prototype.$message = Message //全局引入，所有场景都可以使用
Vue.prototype.$confirm = MessageBox.confirm


